package jk.zmn.ssm.service.impl;

import javax.annotation.Resource;

import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import jk.zmn.ssm.entity.Employee;
import jk.zmn.ssm.mapper.EmployeeMapper;
import jk.zmn.ssm.service.IEmployeeService;

@Service
public class EmployeeService implements IEmployeeService{

	@Autowired
	private EmployeeMapper employeeMapper;
	
	@Override
	@Test
	public Employee select(int id) {
		return employeeMapper.selectByPrimaryKey(id);
	}

}
